﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QL_NOI_TRU
{
    class obTTBenhNhan
    {
        private string mabenhnhan;
        private string hoten = "50";
        private string ngaysinh;
        private string gioitinh = "10";
        private string tuoi;
        private string diachi = "100";

        public obTTBenhNhan()
        {
            mabenhnhan = "";
            hoten = "";
            ngaysinh = "";
            gioitinh = "";
            tuoi = "";
            diachi = "";
        }
        public obTTBenhNhan(obTTBenhNhan new_BN)
        {
            mabenhnhan = new_BN.mabenhnhan;
            hoten = new_BN.hoten;
            ngaysinh = new_BN.ngaysinh;
            gioitinh = new_BN.gioitinh;
            tuoi = new_BN.gioitinh;
            diachi = new_BN.diachi;
        }
        public obTTBenhNhan(string ma, string ten, string ns, string gt, string tu, string dc)
        {
            mabenhnhan = ma;
            hoten = ten;
            ngaysinh = ns;
            gioitinh = gt;
            tuoi = tu;
            diachi = dc;
        }

        
        public string MABENHNHAN{ get { return mabenhnhan; } set { mabenhnhan = value; } }
        public string HOTEN { get { return hoten; } set { hoten = value; } }
        public string NGAYSINH {get { return ngaysinh; } set {ngaysinh = value; }}
         public string GIOITINH {get { return gioitinh; } set {gioitinh = value; }}
         public string TUOI {get { return tuoi; } set {tuoi = value; }}
         public string DIACHI {get { return diachi; } set {diachi = value; }}
    }
    }
